package com.motong.gongdan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author:fff
 * @time:2022/2/22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("unit")
@Accessors(chain = true)
public class Unit extends PublicPo{
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private String name;
    @ApiModelProperty(value = "备注")
    private String comment;
}
